<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic"%>
<%@ taglib uri="/WEB-INF/tld/jstl/c" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="/WEB-INF/tld/jstl/fn" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="ebb365,ebb365,ebb365">
		<meta http-equiv="description" content="ebb365">
		<style type="text/css">
			.vb_wid {width:100%; margin: 0 auto; border-top:1px #FDB18D solid; background:#F5F5F5; color:#FE6500; text-indent:20px; line-height:25px; font-size:12px;}
			.fb_search {width:100%; margin:0 auto; margin-top:20px; border:1px #FFCD7F solid;}
			.fb_search h1 {background:#FFEFBB; margin:0px; padding:0px; line-height:28px; text-indent:10px; font-size:14px;}
			.fb_ddd {width:100%; margin:0 auto; margin-top:10px; border-top:3px #FFCC00 solid; background:url(homeSite/directSeed/images/pen.gif) no-repeat 5px 3px; height:40px; text-indent:50px; line-height:40px; color:#464646; font-size:12px;}
			.fb_nr {width:100%; margin:0 auto; margin-top:10px; line-height:40px; font-size:12px; color:#464646}
			.fb_nr span {color:#CCC;}
			.fb_nr select {color:464646; font-size:12px;}
			.fb_nr Div {margin-left:10px;}
			.fb_nr .table11 {border-top:1px #FFCC66 solid; background:#FFF2D7;}
			.fb_nr .table22 {border-top:1px #E1E1E1 solid; background:#F9F9F9; margin-left:10px;}
			.fb_nr .table33 {border-top:1px #FFCC66 solid; border-bottom:1px #FFCC66 solid; background:#FFF2D7;}
			.fb_nr .table44 {border-top:1px #E1E1E1 solid; border-bottom:1px #E1E1E1 solid; background:#F9F9F9; margin-left:10px;}
			.inputtttt {border:1px #DEA303 solid; height:20px; color:#464646; font-size:12px; background:url(homeSite/directSeed/images/bottom_bg.jpg) repeat-x left top;}
		</style>

		<script type="text/javascript">
		<!--//
				function checkForm(){
				  var f = document.forms[0];
				  if(f.directSeedNameId.value==-1){
				  	alert('请选择一个直播名称！');
				  	return false;
				  }
				  if(f.lanmuname.value==''){
				     alert('期刊名称不能为空！');
				     return false;
				  }
				   if(f.lanmuname.value.length>50){
				     alert('期刊名称过长，最大中文25，英文50！');
				     return false;
				  }				  
				  return true;
				}
				
			
			 -->	
		</script>
		<style type="text/css">
	<!--
	.STYLE1 {font-size: 12px}
	-->
	</style>
	</head>
	<body>		
		<div class="vb_wid">【直播栏目修改后台】</div>
		<div class="fb_ddd">直播栏目修改</div>
		<html:form action="/admin/directSeedClass.do?action=update" method="post" onsubmit=" return checkForm();">
				<div class="fb_nr">
				  <table width="100%" border="0" cellpadding="0" cellspacing="0">
				     
				     <tr>
					      <td width="17%" align="center" class="table11">栏目ID:</td>
					      <td width="83%" class="table22"><div><label>
					        <input type="hidden" name="id" value="${directSeedClass.id}"/>
					        	<b>${directSeedClass.id}</b>
					      	</label>
					     	</div>
					      </td>
				    </tr>
				     <tr>
					      <td width="17%" align="center" class="table11">直播名称:</td>
					      <td width="83%" class="table22"><div><label>
					        <html:select property="directSeedNameId">					      
					        	<option value="-1">请选择</option>
					        	<logic:notEmpty name="directSeedNameList">
					        		<logic:iterate id="list" name="directSeedNameList">
					        			<option value="${list.id}" <c:if test="${list.id==directSeedClass.directSeedName.id}">selected</c:if>>${list.qiname}</option>
					        		</logic:iterate>
					        	</logic:notEmpty>
					        </html:select>
					        
					      	</label>
					     	</div>
					      </td>
				    </tr>
				    <tr>
					      <td width="17%" align="center" class="table11">栏目标题:</td>
					      <td width="83%" class="table22"><div><label>
					        <input type="text" name="lanmuname" size="40" value="${directSeedClass.lanmuname}"/>
					        &nbsp;<font color="red">*</font>
					      	</label>
					     	</div>
					      </td>
				    </tr>
				    <tr>
					      <td width="17%" align="center" class="table11">是否推荐:</td>
					      <td width="83%" class="table22"><div><label>
					        <input type="radio" name="iftj" value="1" checked />是
					        <input type="radio" name="iftj" value="0" <c:if test="${directSeedClass.iftj==0}">checked</c:if> />否
					      	</label>
					     	</div>
					      </td>
				    </tr>
				    <tr>
					      <td width="17%" align="center" class="table11">是否删除:</td>
					      <td width="83%" class="table22"><div><label>
					         <input type="radio" name="shanchu" value="1" checked/>是
					        <input type="radio" name="shanchu" value="0" <c:if test="${directSeedClass.shanchu==0}">checked</c:if>/>否
					      	</label>
					     	</div>
					      </td>
				    </tr>
				   	<tr style="height:50px;">
				      <td align="center"></td>
				      <td><label>
							<input type="submit" name="Submit" value=" 修 改 " class="inputtttt" />
							
							&nbsp;
							<input type="button" name="Submit2" value=" 重 置 " class="inputtttt" />
							&nbsp;
				      
				      </label></td>
				    </tr>
				  </table>
			</div>
		</html:form>
		<logic:present name="msg">
			<bean:write name="msg" filter="false"/>
		</logic:present>
	</body>
</html>
